<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('AdminLaoren/czlist',array('id'=>$lrid))}">充值记录</a></li>
			<li class="active"><a>充值</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="">
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label">老人ID</label>
				<div class="col-md-6 col-sm-10">
					{$lrid}
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label">老人姓名</label>
				<div class="col-md-6 col-sm-10">
					<input type="hidden" class="form-control" id="input-id" value="{$post.id}" name="id">
					<input type="hidden" class="form-control" id="input-post_title" value="{$post.post_title}" name="post_title">
					{$post.post_title}
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label">当前余额</label>
				<div class="col-md-6 col-sm-10">
					{$post.money}
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>充值金额(元)</label>
				<div class="col-md-6 col-sm-10">
					<input type="hidden" class="form-control" id="input-oldmoney" value="{$post.money}"  name="oldmoney">
					<input type="number" class="form-control" id="input-addmoney" name="addmoney">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit" data-action="{:url('AdminLaoren/addczpost')}">充值</button>
					<button type="submit" class="btn btn-primary js-ajax-submit" data-action="{:url('AdminLaoren/addhcpost')}">红冲</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>